include $(top_srcdir)/Rules-cpp.mak

installdir = $(libdir)/enigma2/python/Components/Converter

install_LTLIBRARIES = bitratecalc.la

bitratecalc_la_SOURCES = \
	bitratecalc.cpp \
	bitratecalc.h

bitratecalc_la_LDFLAGS = \
	-avoid-version -module

bitratecalc_la_LIBADD = \
	@LIBCRYPTO_LIBS@

install-data-hook:
	rm $(DESTDIR)$(libdir)/enigma2/python/Components/Converter/bitratecalc.*a
	chmod 775 $(DESTDIR)$(libdir)/enigma2/python/Components/Converter/bitratecalc.so
